package com.yq.ylmall.order.service;

import com.yq.ylmall.dto.order.OrderInfoDto;
import com.yq.ylmall.dto.order.OrderStatisticsDto;
import com.yq.ylmall.dto.order.PaymentInfoDto;
import com.yq.ylmall.model.order.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yq.ylmall.result.Result;
import com.yq.ylmall.vo.order.OrderStatisticsVo;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author cherry
 * @since 2024-06-05
 */
public interface IOrderInfoService extends IService<OrderInfo> {

    OrderStatisticsVo getOrderStatisticsData(OrderStatisticsDto orderStatisticsDto);

    Result createOrder(OrderInfoDto orderInfoDto);

    void updatePaymentInfo(PaymentInfoDto paymentInfo);
}
